﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;

namespace SuiYuan.UI.Controls.Buttons
{
    public class LayUIIconButton : Button
    {
        public ButtonSize ButtonSize
        {
            get { return (ButtonSize)GetValue(ButtonSizeProperty); }
            set { SetValue(ButtonSizeProperty, value); }
        }

        public LayUIButtonType Type
        {
            get { return (LayUIButtonType)GetValue(TypeProperty); }
            set { SetValue(TypeProperty, value); }
        }


        public static readonly DependencyProperty ButtonSizeProperty = DependencyProperty.Register("ButtonSize", typeof(ButtonSize), typeof(LayUIIconButton));
        public static readonly DependencyProperty TypeProperty = DependencyProperty.Register("Type", typeof(LayUIButtonType), typeof(LayUIIconButton));
    }
}
